﻿using System.Web.Mvc;
using StructureMap;
using mitasoft.Web.Common.Interface;

namespace MySite2.Controllers
{
    public class BaseController : Controller
    {
        public ILogger Logger { get; private set; }

        public BaseController()
        {
            Logger = ObjectFactory.GetInstance<ILogger>();

        }

        public ActionResult ErrorOnSite()
        {
            return View();
        }
    }
}